#include "ORGate.h"


ORGate::ORGate(int x,int y)
{
    gate_x=x;
    gate_y=y;
    curlen=0;


}
void ORGate::DoSimulate()
{
    Output=Inputs[0];
    for(int i=1;i<curlen;i++)
    {
        Output=Output|Inputs[i];
    }
}
